﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%=Html.TextArea("card_text", new { id = "fckeditor", cols="20", rows="2", @style="width:300px" })%>

<script type="text/javascript">
    var editor;
    $(function() {
        if (CKEDITOR.instances['fckeditor']) {
            CKEDITOR.remove(CKEDITOR.instances['fckeditor']);
        }
        editor = CKEDITOR.replace('fckeditor');
        CKFinder.setupCKEditor(editor, '../Scripts/fckeditor/ckfinder/');

    });
</script>

